﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ComeSeeThis_MVC2.Models.Motor>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Submitted
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Motor Submitted</h2>
        <p>
        Thank you for submitting a new motor. It will be made available for use after
        it has been approved by an administrator.</p>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Company</div>
        <div class="display-field"><%: Model.Company.CompanyName %></div>
        
        <div class="display-label">Motor Name</div>
        <div class="display-field"><%: Model.MotorName %></div>
        
        <div class="display-label">Part Number</div>
        <div class="display-field"><%: Model.PartNumber %></div>
        
        <div class="display-label">Turns</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.Turns) %></div>
        
        <div class="display-label">KiloVolt</div>
        <div class="display-field"><%: Model.KiloVolt %></div>
        
        <div class="display-label">Magnet Type</div>
        <div class="display-field"><%: Model.MagnetType %></div>
        
        <div class="display-label">Magnet Size</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.MagnetSize) %></div>
        
        <div class="display-label">Watts</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.Watts) %></div>
        
        <div class="display-label">Sensored</div>
        <div class="display-field"><%: Model.Sensored %></div>
        
        <div class="display-label">Motor Size</div>
        <div class="display-field"><%: Model.MotorSize.MotorSizeName %></div>
        
        <div class="display-label">Notes</div>
        <div class="display-field"><%: Model.Notes %></div>
        
        <div class="display-label">Submitted By</div>
        <div class="display-field"><%: Model.SubmittedBy %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id=Model.MotorId }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="BodyTagContent" runat="server">
</asp:Content>

